package cn.dnui_yxk801.dnuifood_16110100801.service;

import cn.dnui_yxk801.dnuifood_16110100801.bean.CollectBean;
import cn.dnui_yxk801.dnuifood_16110100801.bean.FoodBean;
import cn.dnui_yxk801.dnuifood_16110100801.bean.ResultBean;
import retrofit2.Call;

import java.util.List;

import cn.dnui_yxk801.dnuifood_16110100801.bean.ShopBean;
import retrofit2.http.GET;
import retrofit2.http.Query;

public interface ShopService {
   @GET("getAllShops.do")
    Call<List<ShopBean>> getAllShops();
   @GET("getFoodByShop.do")
    Call<List<FoodBean>> getFoodByShop(@Query("shop_id")String shop_id);
    @GET("isCollected.do")
    Call<CollectBean> isCollected(@Query("user_id")String userid, @Query("shop_food_id")String shop_id, @Query("flag")String flag);
    @GET("getShopById.do")
    Call<ShopBean> getShopById(@Query("shop_id")String shop_id);
}
